<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<base href="<%=basePath%>">
<title>job detail</title>
<link href="daoepingcss/job.css" rel="stylesheet" type="text/css" />
<link href="daoepingcss/jobdetail.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/city.js"></script>
<script src="js/jquery.js" type="text/javascript"></script>
<script src="daoepingjs/script_common.js" type="text/javascript"></script>
<script src="js/Calendar.js"></script>


</head>
<script type="text/javascript">

$(document).ready(function() {
 	selectData("selectworkyear","","findAllWorkYear","" );
	selectData("selecteducational","","findAllEducational","" );
	selectData("selectjobtype","","findAllJobType","" );
	selectData("selectskill","","findAllSkill","" );
	selectData("selectskilluseyear","","findAllWorkYear","" );
	selectData("selectgrade","","findAllGrade","" );
	
 	$("#SkillAdd").click(function(){
 		$("#PersonalSkillTb").append($("#PersonalSkill").clone());
 	});
 	
 	
});



</script>
<body class="bg-eee" >

	<form action="AddUserProduction" method="post" id="addUserProduction" >
		<div id="header">
			<div id="datetime"></div>

		</div>


		<div class="detail_ad" id="jobinfot-1"></div>
		<div id="conDetail">
			<h2>
				User name: <%=request.getSession().getAttribute("userid")%>
				<input type="hidden" name="usr_userProduction.usr_user.id"	value="<%=request.getSession().getAttribute("userid")%>"/>
			</h2>
			<div class="lnDet"></div>
			<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tbPosi">

				<tr>
					<td class="wTit">Work Year</td>
					<td class="wCon"><select id="selectworkyear"
						name="usr_userProduction.bsc_workyear.id">
						</select>年</td>			
					<td class="wTit">JobType</td>
					<td class="wCon"> <select
					id="selectjobtype" name="usr_userProduction.bsc_jobtype.id">
					</select></td>		
				</tr>
				<tr>
					<td class="wTit">Educational</td>
					<td class="wCon"><select id="selecteducational"
						name="usr_userProduction.bsc_educational.id">
						</select>
					</td>
					<td></td>	
					<td></td>				
				</tr>
				<tr>
					<td class="wTit">Description</td>
					<td class="wCon" colspan="3">
						<textarea cols="120" rows="10" name="usr_userProduction.description"></textarea>					
					</td>				
				</tr>				

			</table>
			<p>&nbsp;</p>
			<div class="titDetCon">Personal Skill Information</div>
						
		 	<div id="usr_skill_detail">
			<table id="PersonalSkillTb" width="100%" border="0" cellspacing="0" cellpadding="0" class="tbPosi">
				<!-- <tr id="PersonalSkill">					
					<td class="wTit">Skill</td>
					<td class="wCon"><select id="selectskill"
						name="usr_skill_detail.bsc_skill.id"></select>
					</td>
					<td class="wTit">Grade</td>
					<td class="wCon"><select id="selectgrade"
						name="usr_skill_detail.bsc_grade.id"></select>
					</td>
					<td class="wTit">Used Year</td>
					<td class="wCon"><select id="selectskilluseyear"
						name="usr_skill_detail.bsc_workyear.id"></select>
					</td>
					<td class="wTit">Comment</td>
					<td>
						<input type="text"  name="usr_skill_detail.description" />
					</td>						
				</tr> -->
		
				<tr id="PersonalSkill">					
					<td class="wTit">Skill</td>
					<td class="wCon"><select id="selectskill"
						name="skillid"></select>
					<!--  -->
					</td>
					<td class="wTit">Grade</td>
					<td class="wCon"><select id="selectgrade"
						name="gradeid"></select>
					</td>
					<td class="wTit">Used Year</td>
					<td class="wCon"><select id="selectskilluseyear"
						name="workyearid"></select>
					</td>
					<td class="wTit">Comment</td>
					<td>
						<input type="text"  name="skilldescription" />
						
					</td>						
				</tr>
				
			</table>
				

			</div>
			<div class="advline mb-10" id="middle1">
				<p><a class="buttton" id="SkillAdd" style="cursor: hand" >Add</a></p>
			
				<input type="submit" value="submit"/>
			</div>

		</div>
	</form>
</body>


</html>
